#!/bin/bash

expect -c "
    spawn scp -r /var/jenkins_home/workspace/TicketSystemGradle/tickethouse/build/reports/tests sstl@192.168.71.196:/home/sstl/
    expect {
        \"*assword\" {set timeout 300; send \"sstl\r\"; exp_continue;}
        \"yes/no\" {send \"yes\r\";}
    }
expect eof"